import React from 'react'
// import { HashRouter as Router, Route, Switch } from "react-router-dom";
import RouterView from './router'
// import Page1 from './views/Page1';



export default function App() {
    return (
        <div>
            <div>
                <a href='#/'>首页</a>
            </div>
            <RouterView></RouterView>
            {/* <div>
                <a href='#/'>首页</a>
            </div>
            <Router>
                <Switch>
                    <Route path="/" component={Page1} exact></Route>
                </Switch>
            </Router> */}
        </div>
    )
}
